writing an equation of a line that passes through two points